約 5,744,108 件
https://w.atwiki.jp/api_programming/pages/104.html
下位ページ Content HTTP通信文字化けが起きた パラメータの出力 レスポンスの「確認」 basic 認証 HTTP通信 接続先のURLへ情報を送信し、結果を保存する - @IT java.net.URL HttpURLConnection URLのインスタンスを作成。ここで接続先を指定する。 URLのインスタンスのopenConnectionで接続HttpURLConnectionを作成 パラメータはOutputStreamで出力するJavaによるHTTPリクエスト時のパラメータの渡し方 getResponceMessage()でレスポンスのボディを受け取る disconnect()で通信終了 URL url = new URL(strURL); HttpURLConnection con = (HttpURLConnection)url.openConnection(); connection.setDoOutput(true); connection.setUseCashes(false); connection.setRequestMethod("POST"); // 通信方法にPOSTを指定 // パラメータ送信 OutputStream os = uc.getOutputStream(); // POST用のOutputStreamを取得 PrintStream ps = new PrintStream(os); String postStr = "a=1 b=2 c=3"; ps.print(postStr);// データをPOSTする ps.close(); // 受信 InputStream is = uc.getInputStream(); // POSTした結果を取得 BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String s; while ((s = reader.readLine()) != null) { System.out.println(s); reader.close(); uc.disconnect(); } 文字化けが起きた しばらく何事もなかったのに、Toodledoで新しいタスクを作成する処理を行っているときに、iPhone経由でのタスク登録にて文字化けが発生。(iPhone以外では、日本語のタスクを作成しなかった、とかではないと思うが。。。) アラートで表示 OK サーバでの受取での表示 OK Toodledo での受取 NG なので、servlet→toodledoの送信でだめ?っぽい。 文字コードをセットできる場所として PrintStream 生成時に UTF-8 を追加 [[PrintStream(java.io.OutputStream, boolean, java.lang.String) https //docs.oracle.com/javase/jp/6/api/java/io/PrintStream.html#PrintStream(java.io.OutputStream, boolean, java.lang.String)]] で、正常動作(文字化け回避)になった。 パラメータの出力 パラメータはOutputStreamで出力する (HttpURLConnection).getOutputStream でもOutputStreamはバイト文字列で表記とか、使いづらい。 当初、PrintWriterクラスを使っていたが、日本語を使う必要が出た際に、文字化けで詰まったので、 OutputStreamWriterクラスを使うようにした。 OutputStreamWriter osw = new OutputStreamWriter(connection.gerOutputStream(),"UTF-8"); osw.write(str); osw.close(); OutputStreamWriter PrintWriterを使うのが便利。 JavaによるHTTPリクエスト時のパラメータの渡し方 レスポンスの「確認」 System.err.println(httpcon.getResponseCode()) // 戻り値はint System.err.println(httpcon.getResponseMessage()) getResponseCode() getResponseMessage() HTTPステータスコード - Wikipedia basic 認証 http //x68000.q-e-d.net/~68user/net/java-http-url-connection-2.html https //developer.android.com/reference/android/util/Base64.html http //www.programing-style.com/android/android-api/android-basic-authentication/ 正式な?方法があるらしいが、代替的な方法で、client_id と client_secret をパラメータとして渡す方法もあるらしい。
https://w.atwiki.jp/clickvip/pages/223.html
ほのか代理砲台(CGI HTTPプロキシ)について 代理砲台は、CGI方式のプロキシをレンタル鯖などに設置してクリックするテクニック。 これにより、新しいIPの砲台を手に入れるのと同じ効果を得られる。 生IPがBANされてもクリックが可能。 また、「生IP+代理砲台」や、「生IP+代理砲台+代理砲台」というふうに使えば、最大窓数の2倍も3倍も多重できる。 代理砲台の効能 自分で使えるIPをふやせる。つまりほのか窓数をふやせる。以下説明。 1. 現在、イアン鯖に対しては1つのIPからクリックできる窓数は制限されている 2. 光だろうとADSLだろうと普通にネット接続してる家はIP一個しかもらえない 3. よってどんなにPCの性能があっても規制の窓数しか開けない 4. CGI桶のレンサバに砲台をおくことで、そこのIPを使えるようになる(ほのかの代理砲台機能) 砲台を置く鯖が他の人と被るとてんぽります。また、代理砲台を設置したりやめたりするときは 設置済み鯖投稿欄 に投稿してください。これから設置する人はここを見て鯖がかぶらないよう注意してください。 代理砲台の作り方 注意:perlやphp使える鯖でも下記の方法全てが一切通じない鯖も存在します。(完全無料のHPスペースなど)その場合は素直にあきらめましょう。 1. PHP が使えるレン鯖をゲトできたとき 共通: ほのか公式ページ の proxy.txt をダウソしておく。 a.そのままアップロードして使えるかどうか試してみる b.ダメならproxy.phpにリネームして試してみる c.これでもダメなら一行目の#!/usr/local/bin/phpを環境に合わせて書き換える d.3つともダメ、もしくはわからない人は下記の方法を試す 先頭の、 #!/usr/local/bin/php を削除する。 //-----------------------設定ここまで--------------- if(isset($u)){ //URL分解 $url = parse_url($u); の部分を、 //-----------------------設定ここまで--------------- if(isset($_GET[ u ])){ //URL分解 $url = parse_url($_GET[ u ]); に書き換えてから、proxy.php に名前を変えてサーバーにUPする。 2. perlなら使えるらしい鯖をゲトしたとき a.web_proxy.pl や cgiproxy.pl などはあるが代理砲台としてつかえるかわからん 3. もっと自由な鯖をゲトしたとき a.その時点でこれを読む必要があるヤシとは思えん b.squidは面倒だから、TinyHTTPProxy あたりが手軽。自分の動的IPにだけ開けとけるし。 代理砲台の使い方 1. proxy.txt を proxy.php などにリネームしてうpした場合 代理砲台を設置する a. Firefox で ほのか公式 にアクセス。FireVolcanoプロキシサーバーをインストール&Firefox再起動 b. ツール - アドオン - FireVolcanoProxy - 設定 c. 「第二次HTTPプロキシ」の「アクセス先にCGI HTTPプロキシを経由して接続」をチェック d. CGI HTTPプロキシのURL に設置したCGIへアクセスできるURLをコピペ e. 設定ページにいろいろ注意がきはあるので、それのとおりで基本的には桶 多重する場合 火連を一つ起動して窓数を2倍や3倍にしても有効にはなりません。 砲台ごとに別々のプロファイルでFirefoxを立ち上げ、しかる後にそれぞれの火連を起動させましょう。(生IPのFirefoxからはFVPをアンインストした方がいいかも) Firefoxのプロファイル別起動をするには 梓3号 が簡単です。 Macの場合のプロファイル別起動の方法は こちら もしくは、Firefox+Firefox互換ブラウザ(lolifox、flock)の同時起動でもOKです。 代理砲台を2台以上設置する場合 FireVolcanoプロキシサーバー用のポート番号が競合しないようにしてください。 FVPのオプションの「第一次HTTPプロキシ」の中の数字を、砲台ごとに変えればOK。 (生IP砲台+代理砲台の2台の場合はいじる必要はありません。あくまで代理砲台を2つ以上置いたときだけです) (ちなみにこれは内部ネットワークのポートなので、プラネットのようにルータのポート開放作業をする必要はありません) 2. それ以外の場合。 各自工夫するか、質問してくれれば答えられることは答える。 個人的にはswitchproxytool で切換えるのが楽だと思う({火|炉}狐) 設置済み鯖 投稿欄 s31.xrea.com s33.xrea.com (BAN) s41.xrea.com (BAN) s296.xrea.com s297.xrea.com s292.xrea.com (2007-07-26 01 04 30) x-beat dxbeat設置確認済 BAN? (2007-07-26 01 13 00) s75.xrea.com (2007-07-28 19 38 48) AZAReA動作確認済 (2007-07-31 03 31 22) AZAReA鯖重複にて店舗しだした模様 (2007-07-31 10 27 22) s11.coreserver.jp (2007-12-10 10 50 01) ↑のアドレスが理解できませんw ソケット通信可能な格安有料レン鯖が狙い目だと思います (2008-06-03 22 12 57) www8.inetd.co.jp (2008-06-19 07 42 13) 「if.land.to」借ります。 land.toはおkなようです。 (2008-08-04 22 36 32) me.land.toを借りました。 (2008-08-05 08 30 28) es.land.toも借りました。 (2008-08-05 22 13 13) s1.muryo-de.etowns.netを借りました。 (2008-08-09 17 31 36) www.orkut.com (2008-10-31 21 14 40) orkut.com (2009-01-07 04 34 02) Is there ? a href=" http //www.zoji.com/1231016 " littles links /a Perfect to j/o too. (2013-05-30 17 48 04) I quite like cooking a href=" http //www.dicomol.com " order prozac canada /a Estimated creatinine clearance (CrCl) (2013-06-01 05 15 38) Can you hear me OK? a href=" http //www.boards2go.com/boards/board.cgi?user=cytonaqa " japanese schoolgirl lolita pics /a nice, and my ass? (2013-06-02 04 12 14) I ve got a full-time job a href=" http //www.rocktropia.com/forum/blogs/u11384-custom960/ " fucked preteens /a this gurl is def a hot one. (2013-06-04 09 18 50) Awesome article post.Thanks Again. Much obliged. ageafedggefd (2014-05-01 01 27 55) BHnPF5 http //www.FyLitCl7Pf7kjQdDUOLQOuaxTXbj5iNG.com (2015-01-10 16 07 09) Best Site good looking a href=" http //inwa-nordicwalking.com/personal-statement-online-help/ " ethics and social responsibility research papers /a "The [stunt] coordinator and I were up on a scissor lift, we were a good 30 to 40 feet in the area already working when we turned around and looked," he said. "There was just a lot of commotion, people were screaming and pointing." (2015-01-18 05 55 43) On another call http //www.imagetext.co.nz/write-my-essay-fast/ essay writing free essays According to the San Antonio Express News, an average of 230 people have been injured on Texas rides from 2000 to 2008, including 120 who broke bones, 60 who had their teeth chipped or knocked out, and four people who suffered amputations. (2015-01-20 21 45 08) コメント
https://w.atwiki.jp/innovationstudio/pages/18.html
Twitter@innovationstudioまで問い合わせてください
https://w.atwiki.jp/0x0b/pages/90.html
HTTP(HyperText Transfer Protocol) HTTP/0.9 「HTTP/1.0以前のHTTP」という意味で便宜的につけられた呼び名 RFC 959 HTTP/1.0 IETF RFC 1945 HTTP/1.1 RFC 2616 一部書き換え RFC 2817 改定 RFC 2774 WebDAV(Web-based Distributed Authoring and Versioning) HTTP/1.1拡張 RFC 2291 HTTPNG Short- and Long-Term Goals for the HTTP-NG Project RPCリモートマシンのサブルーチン呼び出し CORBA, DCOM, Java RMI XML-RPC TCP/IP URI XMLHttpRequest
https://w.atwiki.jp/cheapugg058/pages/18.html
Not only is Jay Cutler their quarterback and Brandon Marshall their receiver, both former teammates in Denver, but Jeremy Bates is the quarterbacks coach The special programming that Siruis and XM carry is the deciding factor of which service to choose for many peoplereply span {background-position 0px 3px;} pIf they truly are the type of team that has the potential to dominate with their defense, then lower totals will define them as such Unlike the Shot Gun where the quarterback lines up seven or more yards deep, in the Pistol Offense the quarterback lines up three to five yards behind center with the running back a yard or so behind him north face outlet store They had a national championship stripped from them and Reggie Bush had to return his Heisman trophy Of course, as a creative genius and general nutcase, Lil Wayne does things a little differently than you or I But, chips and colas have become a snack food of the past Miami Dolphins The Chargers continue to play down to the level of their opponents this season and so I am leery of laying this much with them Implicitly under the Sarbanes Oxley Act, they are agreeing that they re responsible for establishing and maintaining internal controls, and that they have ensured that all of a company s material information necessary for investors to make intelligent decisions is made known by internal procedures of the company After this, you have to select a football game that you want updates on (September 12, 2005)twitterditto225256953830580224 a { color #0F010F; } divtimestamp a span {display inline-block;width 16px;background-image url(http //images Not particularly big or incredibly strong armed, he got the job done using his mind and ability to prolong plays to lead his teams to frequent victories At this time I do not have the information on Scotts birth order but do know he has a brother David that is a photographer Still, I listened to other player s opinions and read some reviews of the pool cue brand I thought I wantedPrior to my contacting you, I confirmed a couple of facts about Leo Wanta/$27 Ray Rice Jersey Dish Network wants it s customers to get the most out of their service by making available theit DishHome - channel 100" - Howard Thompson, The New York Times (2/19/59) On DVD Not commercially available Half sheet movie poster style B Mickey Rooney in The Last Mile (1959) Midnight Express (Columbia, 1978)Brad Davis plays young American Billy Hayes, who draws a long sentence in a Turkish prison after being convicted of smuggling hashish author img {float left; margin 0px 7px 0px 0px;} p which are not desired at alldittoTweet spantwitter-inner-ditto226493158538760192 div But with continued use for a month or so, you will notice significant weight reduction and you will be just steps away from the physique you have always wanted The tower’s stepping is functional, helping separate these sections When I was considering buying my second cue, however, I had a pretty good idea of what I wanted of Revenue---Tax Appeals Commission It is free Wes Welker Jersey to join and you can make money online as soon as you sign-up Think about how your child was in the beginning of the year and how much transformation you can see in her behavior as well as her personalityand may you and Mr And, if I was kicked off the high school team, I would not be able to play college football, and college football is a requirement for becoming a pro player This saves the family on their communication budget moneyditto191956361989468160{background #8D49BD url(http //a0twitter-inner-ditto243429190748233728 span Goff’s assertions have not gone over well, to say the least, and the article is garnering hundreds of comments–several have come in just while this article was being written This obviously does not remain a secret for too long, as the remainder of the film chronicles Carnegie s violent chase of Eli and his BibleAnother set of emails, which even appear to include a veiled death threat to the Arctic Beacon editor, has been determined and verified to a high degree to be from the illegitimate camp, fronting for Bush SrdittoTweet spanThat s rightThe front office still has work to do during the free agent signing period and adding another wide receiver would allow the team to address bigger needs through the draftFounded in 1920, eleven teams of American Professional Football Association, the League National Football League changes its name to the 1922nd NFL preseason games, live stream Cottrell,Patrick Willis Jersey treasurer of AmeriTrust, there are at least two other trusts or groups like Wanta s seeking money that are legitimate, and at least two others of known record fraudulently posing as legitimate but actually "fronting" for Bush or Bush Sr A pulsating current is set off by a timer current which is released along the wire at regular intervalsfavorite hover span {background-position -48px 2px;}spanfavorite hover span {background-position -48px 2px;}@VocalLizzyVocalLizzy@adamlevine if u can handle all your ink, you can deal with a busted lip That s not to say this isn t a great film Although the most common form of cooking for these parties is grilling, some people have been known to bring smokers and deep fryers as wellat-name a hover {color #999;text-decoration none;font-size 14px;font-weight normal;}dittoTweet {background #fff;padding 10px 12px 10px 50px;margin 0;min-height 48px;color #000;font-size 22px !important;font-family Georgia, "Times New Roman", Times, serif;line-height 30px;-moz-border-radius 5px;-webkit-border-radius 5px;}span What is your mission in life? What is your vision for the next five years? If your answer is, "I don t know," please take some time to answer these questionsmetadata {display block;width 100%;clear both;margin-top 8px;padding 12px 0px;height 65px;}span Unlike most other reduce weight supplements, these natural ingredients are blended into 400-mg caplets which you only have to take once a day -Wikipedia New England was playing at home, ready for revenge for their playoff loss last season, and won the game by being able to adapt to what the New York defense was doing The lion dance is a form of traditional dance in Chinese culture in which performers mimic a lion s movements in a lion costume, often with musical accompaniment from cymbals, drums and gongs The term inlay refers to materials embedded into either the forearm or butt sleeve At the end of the day, statistics say that if the salary of the quarterback is deducted from the overall money spent on the offense and then it s compared with the defense, it amounts to less However, their verdict was overruled by the judge who stated that there was insufficient evidence to prove the case against the supervisor that an adverse reaction had been carried out for reasons of discrimination or retaliationAaron Hernandez Jersey for the sexual orientation of the plaintiff Moreover, the company raised its 2012 revenue guidance and the lower end of the earnings guidance I cannot afford a lot "Lies Lies Lies Lies On the strength of his imposing physical stature and his impressive athletic abilities, a Christian private school coach convinces his administration to enroll "Big Mike of Health) is also implicated in this story83% compared with 2% in the prior-year quarter
https://w.atwiki.jp/ugomemohp/pages/9.html
動画(youtube) @wikiのwikiモードでは #video(動画のURL) と入力することで、動画を貼り付けることが出来ます。 詳しくはこちらをご覧ください。 =>http //atwiki.jp/guide/17_209_ja.html また動画のURLはYoutubeのURLをご利用ください。 =>http //www.youtube.com/ たとえば、#video(http //youtube.com/watch?v=kTV1CcS53JQ)と入力すると以下のように表示されます。
https://w.atwiki.jp/freememo/pages/56.html
HINTERNET g_hInet; HINTERNET g_hURL; //===========================================================================// /*! @brief WinInetライブラリ初期処理 @param[in] lpszURL 対象URL @return 成否 */ //===========================================================================// BOOL InitWinInet(LPCTSTR lpszURL) { // WinInetライブラリ開始 g_hInet = InternetOpen( L"", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0); if (g_hInet == NULL) { return FALSE; } // セッションオープン g_hURL = InternetOpenUrl(g_hInet, lpszURL, NULL, 0, 0, 0); if (g_hURL == NULL) { return FALSE; } return TRUE; } //===========================================================================// /*! @brief WinInetライブラリ終了処理 @return 無し */ //===========================================================================// void TerminateWinInet() { // WinInet関連ハンドル開放 if (g_hURL) { InternetCloseHandle(g_hURL); } if (g_hInet) { InternetCloseHandle(g_hInet); } } //===========================================================================// /*! @brief HTTPヘッダー情報取得 @param[in] lpszURL 対象URL @param[out] lpOutBuffer HTTPヘッダー情報バッファ @param[in/out] hMem メモリハンドル @return 成否 */ //===========================================================================// BOOL WINAPI NMAPI_GetHttpSource(LPCTSTR lpszURL, LPSTR lpOutBuffer, HGLOBAL hMem) { BOOL bRet = FALSE; // WinInetライブラリ初期処理 if (! InitWinInet(lpszURL)) { goto END; } // データ読み出し // サイトによっては、文字コードに左右される可能性がある為、マルチバイト扱いとする CHAR szBuf[128]; ZeroMemory(szBuf, sizeof(szBuf)); DWORD dwRead; int nTotal = 0; while (TRUE) { InternetReadFile(g_hURL, szBuf, (DWORD)sizeof(szBuf) - 1, dwRead); szBuf[dwRead] = \0 ; if (dwRead == 0) { break; } nTotal += dwRead; // メモリ再割り当て hMem = GlobalReAlloc(hMem, (SIZE_T)nTotal+1, GMEM_MOVEABLE); if (hMem == NULL) { goto END; } lpOutBuffer = (CHAR *)GlobalLock(hMem); if (lpOutBuffer == NULL) { goto END; } strcat_s(lpOutBuffer, nTotal+1, szBuf); } bRet = TRUE; END // WinInetライブラリ終了処理 TerminateWinInet(); return bRet; } //===========================================================================// //呼び出し側 //===========================================================================// { // メモリ割り当て HGLOBAL hMem = GlobalAlloc(GHND, sizeof(TCHAR)); TCHAR* lpszHeader = (TCHAR*)GlobalLock(hMem); if (NMAPI_GetHttpHeader(strURL, lpszHeader, hMem)) { ・・・ ・・・ ・・・ } // メモリ開放 GlobalUnlock(hMem); GlobalFree(hMem); }
https://w.atwiki.jp/saigasikito/pages/8.html
動画(youtube) @wikiのwikiモードでは #video(動画のURL) と入力することで、動画を貼り付けることが出来ます。 詳しくはこちらをご覧ください。 =>http //atwiki.jp/guide/17_209_ja.html また動画のURLはYoutubeのURLをご利用ください。 =>http //www.youtube.com/ たとえば、#video(http //youtube.com/watch?v=kTV1CcS53JQ)と入力すると以下のように表示されます。
https://w.atwiki.jp/220yearsafterlove/pages/31.html
http //detail.chiebukuro.yahoo.co.jp/qa/question_detail.php?qid=1448308454 これって本当に犯罪にならないんですか? http //20yearsafterlove.blog111.fc2.com/blog-entry-277.html
https://w.atwiki.jp/playaholic/pages/21.html
ステータスコード 普通にページを閲覧している際に、よく目にするのが 403と404のHTTPエラーかと思います。 コマンドの実行結果などを表しています。 ステータスカテゴリ カテゴリ 範囲 情報 100-199 固有メッセージ 成功 200-299 正常処理 リダイレクト 300-399 自動的に実行 クライアントエラー 400-499 クライアント側に原因 サーバエラー 500-599 サーバ側に原因 一覧